{"ast":null,"code":"var _jsxFileName = \"/data/messenger.client/src/pages/Home/Contacts/index.tsx\",\n  _s = $RefreshSig$();\nimport React from 'react';\nimport { Home } from \"../../\";\nimport { FindUsers, Contacts as ContactsContainer, Contact } from \"../../../containers\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst Contacts = () => {\n  _s();\n  const [haveContacts, setHaveContacts] = React.useState(false);\n  const [haveUsers, setHaveUsers] = React.useState(false);\n  return /*#__PURE__*/_jsxDEV(Home, {\n    childrenFirst: /*#__PURE__*/_jsxDEV(\"div\", {\n      className: \"messenger__sidebar-item\",\n      children: [/*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"messenger__sidebar-item-header\",\n        children: /*#__PURE__*/_jsxDEV(\"div\", {\n          className: \"messenger__sidebar-item-header-top\",\n          children: /*#__PURE__*/_jsxDEV(\"span\", {\n            children: \"\\u0421\\u043F\\u0438\\u0441\\u043E\\u043A \\u043A\\u043E\\u043D\\u0442\\u0430\\u043A\\u0442\\u043E\\u0432\"\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 15,\n            columnNumber: 29\n          }, this)\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 14,\n          columnNumber: 25\n        }, this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 13,\n        columnNumber: 21\n      }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"messenger__sidebar-users\",\n        children: /*#__PURE__*/_jsxDEV(FindUsers, {\n          setHaveContacts: () => setHaveContacts,\n          setHaveUsers: () => setHaveUsers\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 19,\n          columnNumber: 25\n        }, this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 18,\n        columnNumber: 21\n      }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"messenger__sidebar-contacts\",\n        children: /*#__PURE__*/_jsxDEV(ContactsContainer, {\n          setHaveContacts: () => setHaveContacts,\n          setHaveUsers: () => setHaveUsers\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 25,\n          columnNumber: 25\n        }, this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 24,\n        columnNumber: 21\n      }, this)]\n    }, void 0, true, {\n      fileName: _jsxFileName,\n      lineNumber: 12,\n      columnNumber: 17\n    }, this),\n    childrenSecond: /*#__PURE__*/_jsxDEV(\"div\", {\n      className: \"messenger__contact-profile\",\n      children: /*#__PURE__*/_jsxDEV(Contact, {}, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 34,\n        columnNumber: 21\n      }, this)\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 33,\n      columnNumber: 17\n    }, this)\n  }, void 0, false, {\n    fileName: _jsxFileName,\n    lineNumber: 10,\n    columnNumber: 9\n  }, this);\n};\n_s(Contacts, \"sah0jtUP9YWovZs86Htu7IvQxyc=\");\n_c = Contacts;\nexport default Contacts;\nvar _c;\n$RefreshReg$(_c, \"Contacts\");","map":{"version":3,"names":["React","Home","FindUsers","Contacts","ContactsContainer","Contact","haveContacts","setHaveContacts","useState","haveUsers","setHaveUsers"],"sources":["/data/messenger.client/src/pages/Home/Contacts/index.tsx"],"sourcesContent":["import React from 'react';\nimport {Home} from \"../../\";\nimport {FindUsers, Contacts as ContactsContainer, Contact} from \"../../../containers\";\n\nconst Contacts = () => {\n    const [haveContacts, setHaveContacts] = React.useState<boolean>(false);\n    const [haveUsers, setHaveUsers] = React.useState<boolean>(false);\n\n    return (\n        <Home\n            childrenFirst={\n                <div className=\"messenger__sidebar-item\">\n                    <div className=\"messenger__sidebar-item-header\">\n                        <div className=\"messenger__sidebar-item-header-top\">\n                            <span>Список контактов</span>\n                        </div>\n                    </div>\n                    <div className=\"messenger__sidebar-users\">\n                        <FindUsers\n                            setHaveContacts={() => setHaveContacts}\n                            setHaveUsers={() => setHaveUsers}\n                        />\n                    </div>\n                    <div className=\"messenger__sidebar-contacts\" >\n                        <ContactsContainer\n                            setHaveContacts={() => setHaveContacts}\n                            setHaveUsers={() => setHaveUsers}\n                        />\n                    </div>\n                </div>\n            }\n            childrenSecond={\n                <div className=\"messenger__contact-profile\">\n                    <Contact />\n                </div>\n            }\n        />\n    );\n}\n\nexport default Contacts;"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAQC,IAAI,QAAO,QAAQ;AAC3B,SAAQC,SAAS,EAAEC,QAAQ,IAAIC,iBAAiB,EAAEC,OAAO,QAAO,qBAAqB;AAAC;AAEtF,MAAMF,QAAQ,GAAG,MAAM;EAAA;EACnB,MAAM,CAACG,YAAY,EAAEC,eAAe,CAAC,GAAGP,KAAK,CAACQ,QAAQ,CAAU,KAAK,CAAC;EACtE,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAGV,KAAK,CAACQ,QAAQ,CAAU,KAAK,CAAC;EAEhE,oBACI,QAAC,IAAI;IACD,aAAa,eACT;MAAK,SAAS,EAAC,yBAAyB;MAAA,wBACpC;QAAK,SAAS,EAAC,gCAAgC;QAAA,uBAC3C;UAAK,SAAS,EAAC,oCAAoC;UAAA,uBAC/C;YAAA;UAAA;YAAA;YAAA;YAAA;UAAA;QAA6B;UAAA;UAAA;UAAA;QAAA;MAC3B;QAAA;QAAA;QAAA;MAAA,QACJ,eACN;QAAK,SAAS,EAAC,0BAA0B;QAAA,uBACrC,QAAC,SAAS;UACN,eAAe,EAAE,MAAMD,eAAgB;UACvC,YAAY,EAAE,MAAMG;QAAa;UAAA;UAAA;UAAA;QAAA;MACnC;QAAA;QAAA;QAAA;MAAA,QACA,eACN;QAAK,SAAS,EAAC,6BAA6B;QAAA,uBACxC,QAAC,iBAAiB;UACd,eAAe,EAAE,MAAMH,eAAgB;UACvC,YAAY,EAAE,MAAMG;QAAa;UAAA;UAAA;UAAA;QAAA;MACnC;QAAA;QAAA;QAAA;MAAA,QACA;IAAA;MAAA;MAAA;MAAA;IAAA,QAEb;IACD,cAAc,eACV;MAAK,SAAS,EAAC,4BAA4B;MAAA,uBACvC,QAAC,OAAO;QAAA;QAAA;QAAA;MAAA;IAAG;MAAA;MAAA;MAAA;IAAA;EAElB;IAAA;IAAA;IAAA;EAAA,QACH;AAEV,CAAC;AAAA,GAlCKP,QAAQ;AAAA,KAARA,QAAQ;AAoCd,eAAeA,QAAQ;AAAC;AAAA"},"metadata":{},"sourceType":"module"}